package com.ljf.tijian.dto;

import org.springframework.stereotype.Component;

public class CalendarResponseDto {

    private Integer remainder;
    private Integer existing;
    private String ymd;
    private Integer total;

    public CalendarResponseDto(Integer remainder, Integer existing, String ymd, Integer total) {
        this.remainder = remainder;
        this.existing = existing;
        this.ymd = ymd;
        this.total = total;
    }

    public CalendarResponseDto(Integer remainder, Integer existing, String ymd) {
        this.remainder = remainder;
        this.existing = existing;
        this.ymd = ymd;
    }

    public Integer getExisting() {
        return existing;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public void setExisting(Integer existing) {
        this.existing = existing;
    }


    public CalendarResponseDto(Integer remainder, String ymd) {
        this.remainder = remainder;
        this.ymd = ymd;
    }

    public CalendarResponseDto() {

    }

    public CalendarResponseDto(String ymd) {
        this.ymd = ymd;
    }

    public Integer getRemainder() {
        return remainder;
    }

    public void setRemainder(Integer remainder) {
        this.remainder = remainder;
    }

    public String getYmd() {
        return ymd;
    }

    public void setYmd(String ymd) {
        this.ymd = ymd;
    }
}
